package com.rightsidetech.commom.utils.gps;

public class LatLonPoint {
    private double a;
    private double b;

    public LatLonPoint(double var1, double var3) {
        this.a = var1;
        this.b = var3;
    }

    public double getLongitude() {
        return this.b;
    }

    public void setLongitude(double var1) {
        this.b = var1;
    }

    public double getLatitude() {
        return this.a;
    }

    public void setLatitude(double var1) {
        this.a = var1;
    }

    public LatLonPoint copy() {
        return new LatLonPoint(this.a, this.b);
    }

    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        long var3 = Double.doubleToLongBits(this.a);
        int var5 = 31 * var2 + (int)(var3 ^ var3 >>> 32);
        var3 = Double.doubleToLongBits(this.b);
        var5 = 31 * var5 + (int)(var3 ^ var3 >>> 32);
        return var5;
    }

    public boolean equals(Object var1) {
        if (this == var1) {
            return true;
        } else if (var1 == null) {
            return false;
        } else if (this.getClass() != var1.getClass()) {
            return false;
        } else {
            LatLonPoint var2 = (LatLonPoint)var1;
            if (Double.doubleToLongBits(this.a) != Double.doubleToLongBits(var2.a)) {
                return false;
            } else {
                return Double.doubleToLongBits(this.b) == Double.doubleToLongBits(var2.b);
            }
        }
    }

    public String toString() {
        return "" + this.a + "," + this.b;
    }

}


